﻿using System;
using System.Collections;
using System.Data.SqlClient;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

using Telerik.Web.UI;
using System.Configuration;

namespace Worcamento
{
    public partial class Site1 : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                RadToolTipManager1.TargetControls.Add(spAcesso.ID);
            }
        }

        protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
        {
            Control ctrl = Page.LoadControl("/site/acesso.ascx");
            args.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl);
        }

    }
}